package com.tte.common.model.vo;

import com.tte.common.anno.dateConverAnno.DateField;
import com.tte.common.utils.DateUtil;

import java.io.Serializable;

/**
 * @ClassName UserQueryVO
 * @Description
 * @Author DongWH
 * @Date 2024/11/4 14:19
 */
public class UserQueryVO implements Serializable {
    /**
     * 开始时间
     */
    @DateField(oldPattern = DateUtil.YYYY_MM_DD_HH_MM_SS, newPattern = DateUtil.YYYY_MM_DD)
    private String startDate;
    /**
     * 结束时间
     */
    @DateField(oldPattern =DateUtil.YYYY_MM_DD_HH_MM_SS,newPattern = DateUtil.YYYY_MM_DD)
    private String endDate;

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "UserQueryVO{" +
                "startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                '}';
    }
}